import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/cupertino.dart';

class WeatherIconImage extends StatelessWidget {
  final String iconUrl;
  final double size;

  const WeatherIconImage({
    super.key,
    required this.iconUrl,
    required this.size,
  });

  @override
  Widget build(BuildContext context) {
    return CachedNetworkImage(imageUrl: iconUrl, width: size, height: size);
  }
}
